package yf.mall.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yf.mall.entity.AppCoursePurchaseEntity;
import yf.mall.entity.AppCoursePurchaseEntityExample;

@Mapper
@Repository
public interface AppCoursePurchaseExtMapper {
    long countByExample(AppCoursePurchaseEntityExample example);

    int deleteByExample(AppCoursePurchaseEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AppCoursePurchaseEntity record);

    int insertSelective(AppCoursePurchaseEntity record);

    List<AppCoursePurchaseEntity> selectByExample(AppCoursePurchaseEntityExample example);

    AppCoursePurchaseEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AppCoursePurchaseEntity record, @Param("example") AppCoursePurchaseEntityExample example);

    int updateByExample(@Param("record") AppCoursePurchaseEntity record, @Param("example") AppCoursePurchaseEntityExample example);

    int updateByPrimaryKeySelective(AppCoursePurchaseEntity record);

    int updateByPrimaryKey(AppCoursePurchaseEntity record);
}